1. Go into your site folder in User Sites and delete the contents of your Preview folder and Local Publish folder.
2. Go to Site View and Tools > Re-optimize.
3. Go to Assets View and Assets > Delete all unused file assets.
Repeat 2.
Now publish to your web server.
(it's working fine with a local publish now because it's finding the files in the preview folder with a local path. That will never work on the live web server.)