Multiple versions of select2 in a Jira Plugin

Hi there,
in a Jira Plugin I am using the old wrapped version of select2 which is available as auiSelect2(). This is not sufficient since I need the create dynamic option feature for some features of my plug-in. I was able to load the current version 4.x to the content in Jira via the atlassian-plugin.xml, but the old version is still tied to select2 ($.fn.select2). Is there any way how I can use the new version in parallel. i.e. using it as a module like with mySelect2 = require(‘select2’)?
Thanks in advance.