Edit grafana core datasource plugin

hello,

in my project im connecting grafana to influxdb. My goal is now to edit the influxdb flux query editor and add some extra buttons and filter elements for my specific project.

After some testing it doesnt seem possible to just copy the core files of the influxdb datasource plugin and copy it to my plugin folder.

Does anyone have an idea how to copy/edit core datasource plugins?

Thanks
Sian Brumm