You should be able to do the following:
1) File a 1040-NR. BEWARE !!!! Tax filing deadline is TONIGHT. Your return NEEDS to be postmarked by today, or you need to file for an extension!
2) Claim/Deduct the USA paid taxes against your local taxes (assuming a double-taxation treaty agreement exists between the USA and your country and allows you to do so).
Notes:
1) Warning: I am not a lawyer. However I had to file a 1040-NR when I first moved to the USA.
2) Also: you probably CANNOT use form 1040-NR-EZ ('easy' version).
3) Find a tax person who has done this before. Even if they cost you $350, it is probably worth it. Next year, you can do it yourself.
Likely scenarios:
1) Overwithholding (the US Treasury may send you a check)
2) Underwithholding (you might need to post the US treasury a check)
Year 2014 form 1040-NR instructions: http://www.irs.gov/pub/irs-pdf/i1040nr.pdf