wow I broke mine the exact same. Here's what I did:
If its just the hinge part if the black part like mine then its easier.
Remove the black thing and the backlight cable from the white thing. Take a small screwdriver and lightly push down on the little pins. This will make the cable fit tighter. Then stick the cable in. The pins should still be on top of the cable. If the black thing is still in tact like mine is, just place it on top in the correct place and then push it down and it should click into place. For me this was enough to hold it in place.
If you dont have the black piece, or if its like broken in half, then do the steps above but instead of putting the black piece on, put a piece of electrical or other strong tape over it. This will hold it in place.
Oh and by the way, if you accidentally break any of the small pins off, in not responsible. They probably won't but I dont wanna take any chances. Also if you break the center two off, it dosent matter cuz they dont do anything.