How to exclude resource URL in Javascript?

I have used inferHtmlResources to exclude the js , css etc.

But how can i remove a resource in this script as shown,
It is a google charts api used. This request is showing in my report.

One thing that have worked for me is that dividing that entire part in to many execute statements that are included into the resources part.

Can you show how is it done with some example??