Replace default Datatables script to most recent [custom buit] one
OK, answering my own question again. So, there are essentially 2 ways to achieve this:


Override  \civicrm\CRM\Core\Resources.php (copy it to your custom php directory first, in order to keep control on changes). It contains (quote) List of core resources we add to every CiviCRM page.
Use hook_civicrm_coreResourceList(&amp;$list, $region) {} 


(!! Attention: methods of adding 3rd-party resources, described at that page doesn't always work; we've ended up using drupal_add_js. Datatable initialization script has to be wrapped into drupal.behaviors than).