I don't believe in magic that targets people that way, not only does it interfere with free will, but you'll probably always wonder if they are really your friends or if they are just there because of magic. You can do a spell to attract true friends with similar interests without targeting a specific person. I haven't looked so I'm not aware of any on this site, but you could look for something like that.
I know it's tough being shy, but it's possible to change. You said you have similar interests, so start a conversation about that. The worst that can happen is they act like a jerk, and I wouldn't recommend being friends with a jerk anyway. People also respond better when you compliment them. Find something you genuinely like about them (anything: shirt, hairstyle, a piece of jewelry) and just say "hey, thats cool." Or whatever kids say now. No one can really be a jerk when you compliment them. And like I said, if they are, you don't need their friendship anyway.