Which file contains the javascript code that you would like to use? Is it poll-pdf-chart-generation.js.coffee?
I am unsure if wicked pdf can use coffee files but someone can please correct me if I am wrong.
I believe a workaround solution is to try converting poll-pdf-chart-generation.js.coffee to a js file and adding it to production.rb:
config.assets.precompile += ['poll-pdf-chart-generation.js']
Reference: Rails guide on asset pipeline
Change your wickedpdf include tag to look at the precompiled js asset:
wicked_pdf_javascript_include_tag "poll-pdf-chart-generation"
And you will also need to precompile your assets:
bundle exec rake assets:precompile