This new conditional seems to be causing the problem:
if (is_file("includes/html/pages/device/graphs/$group.inc.php")) {
include "includes/html/pages/device/graphs/$group.inc.php";
} else {
// original code
If I remove/rename this file the custom OID graphs are shown again:
/opt/librenms/includes/html/pages/device/graphs/customoid.inc.php
I don’t know if that’s a valid workaround?