I believe that you should specify those libraries as chart dependencies on this line:
https://github.com/richwidgets/richwidgets/pull/173/files#diff-7cbec3237cd6351dd69df4271a3094d5R95