Yes there is a way, this is what I did
Go download bitpim (google it)
Plug your old phone into your computer via USB
Open bitpim, hope it detects your phone. Assuming it does, click get phone data to get all contacts from the phone to your computer.
Next, file, export, csv contacts. Choose all contacts.
Then go into gmail contacts and go to import contacts, browse to csv, upload and bam! You have all your contacts in gmail.
Google also has a neat feature allowing you to merge several contacts into one, so like if you already had John Doe in your gmail contacts and now there are two b/c you downloaded the contact from your phone, you can highlight them both and choose to merge them into one contact to eliminate duplicates.
If you have trouble with bitpim, i'm not the one to ask. I had to end up using bluetooth to link my phone to the com6 port on my laptop and only THEN was I able to connect, but I know some phones connect to bitpim easily.
goodluck