CPN: Replacing tokens in physical css/js files
Both drupal_add_js and drupal_add_css have an option to add code "inline".  You can try his in a template_preprocess_node:

function mytheme_proprocess_node (&amp;$variables)
{
  drupal_add_js($variables['cpn']['js'], 'inline');
  drupal_add_css($variables['cpn']['css'], 'inline');
}


If you do this in a theme, then the CPN hook should have already been fired.  If you do it from a module, you may need to play with the module weights to get yours to follow.