If you look how that script is loaded in WC core
'wc-cart-fragments' => array(
'src' => self::get_asset_url( 'assets/js/frontend/cart-fragments' . $suffix . '.js' ),
'deps' => array( 'jquery', 'js-cookie' ),
'version' => WC_VERSION,
),
You’ll see the path to that script, as well as it’s dependencies. rebuild that path and enqueue it yourself.
FYI $suffix
is set like this:
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';