How can I force a shy child to make friends?

Don't. You never want to force a child to do anything. Provide your child with opportunities to socialize. Realize that a shy child will take longer to warm up to new or uncomfortable situations. You can help decrease the anxiety by preparing her for new situations, such as, visiting a new school, day care, etc. prior to her/he needing to be there. Also discuss this with her doctor.