Remove default jQuery UI

Permalink
Hey. I'm building a site that uses jQuery UI on a front-end. At first I used default jQuery UI library from Concrete 5 like so:
<?php $this->requireAsset('javascript', 'jquery'); ?>
<?php $this->requireAsset('javascript', 'jquery/ui'); ?>
<?php $this->requireAsset('css','jquery/ui'); ?>
<?=Loader::element('header_required'); ?>

But now I need to add widget that is not present in Concrete5. I'm talking about Selectmenu. I might want to have more widgets like that in future, so I decided to remove default jQuery UI from template and use my own build. Easiest way of doing this is to replace C5 script. But it's wrong way of doing things sinse this script will be replaced on updating CMS. Is there a right way of removing jQuery UI from C5 and replacing it with your own version?

 
Steevb replied on at Permalink Reply
Steevb
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi MaestroMagnifico,

In addition to what Steevb said, I would look here:
http://documentation.concrete5.org/developers/designing-for-concret...