JST paths differ between development and production

In development my templates are available under
JST[“javascripts/templates/…”], but in production the common
“javascripts/” prefix is ignored and the templates are stored under
JST[“templates/…”] instead.

Simply doing a rake assets:precompile for production.

Any ideas?