Here's a few options that you could do:
1. Go on your local buying/selling website (America is Craigslist) and try to find a broken HTC One X, maybe they're selling cheap because of a cracked screen. Just stay away from any Water damaged ones.
2. Go to Ebay and look for specific parts, if you don't want to do it yourself, save yourself the trouble and buy the parts (which makes it cheaper on you) and bring it to a local shop and they'll replace it for you.
3. If all else fails, you'll have to take it to a repair shop. Make sure the repair shop is reputable so you're not being screwed over in anyway possible.