diff --git a/html/includes/graphs/atmvp/cells.inc.php b/html/includes/graphs/atmvp/cells.inc.php
index 88966210e..dd119ea41 100644
--- a/html/includes/graphs/atmvp/cells.inc.php
+++ b/html/includes/graphs/atmvp/cells.inc.php
@@ -28,6 +28,6 @@ $colour_area_out_max = "FFefaa";
$graph_max = 1;
$unit_text = "Cells";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/atmvp/errors.inc.php b/html/includes/graphs/atmvp/errors.inc.php
index ca72fe05b..4a66a04ac 100644
--- a/html/includes/graphs/atmvp/errors.inc.php
+++ b/html/includes/graphs/atmvp/errors.inc.php
@@ -29,6 +29,6 @@ $graph_max = 1;
$unit_text = "Errors";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/atmvp/packets.inc.php b/html/includes/graphs/atmvp/packets.inc.php
index d67f55daa..66774d3c1 100644
--- a/html/includes/graphs/atmvp/packets.inc.php
+++ b/html/includes/graphs/atmvp/packets.inc.php
@@ -28,6 +28,6 @@ $colour_area_out_max = "FFefaa";
$graph_max = 1;
$unit_text = "Packets";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/bgp/cbgp_prefixes.inc.php b/html/includes/graphs/bgp/cbgp_prefixes.inc.php
index 2a0f5f17e..72c0ac33c 100644
--- a/html/includes/graphs/bgp/cbgp_prefixes.inc.php
+++ b/html/includes/graphs/bgp/cbgp_prefixes.inc.php
@@ -1,6 +1,6 @@
diff --git a/html/includes/graphs/bgp/updates.inc.php b/html/includes/graphs/bgp/updates.inc.php
index f4f682c6e..4c28c0270 100644
--- a/html/includes/graphs/bgp/updates.inc.php
+++ b/html/includes/graphs/bgp/updates.inc.php
@@ -21,6 +21,6 @@ $graph_max = 1;
$unit_text = "Updates";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/device/current.inc.php b/html/includes/graphs/device/current.inc.php
index 12034d362..aa83a4fce 100644
--- a/html/includes/graphs/device/current.inc.php
+++ b/html/includes/graphs/device/current.inc.php
@@ -1,6 +1,6 @@
diff --git a/html/includes/graphs/diskio/ops.inc.php b/html/includes/graphs/diskio/ops.inc.php
index 04a8d6996..34ce00492 100644
--- a/html/includes/graphs/diskio/ops.inc.php
+++ b/html/includes/graphs/diskio/ops.inc.php
@@ -24,6 +24,6 @@ $graph_max = 1;
$unit_text = "Ops/s";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/mempool/usage.inc.php b/html/includes/graphs/mempool/usage.inc.php
index 9b6fc1448..1a709bf08 100644
--- a/html/includes/graphs/mempool/usage.inc.php
+++ b/html/includes/graphs/mempool/usage.inc.php
@@ -1,6 +1,6 @@
diff --git a/html/includes/graphs/port/errors.inc.php b/html/includes/graphs/port/errors.inc.php
index 36674b56c..28fdc8295 100644
--- a/html/includes/graphs/port/errors.inc.php
+++ b/html/includes/graphs/port/errors.inc.php
@@ -28,6 +28,6 @@ $graph_max = 1;
$unit_text = "Errors";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/port/fanspeed.inc.php b/html/includes/graphs/port/fanspeed.inc.php
index be77d1ee6..e47194136 100644
--- a/html/includes/graphs/port/fanspeed.inc.php
+++ b/html/includes/graphs/port/fanspeed.inc.php
@@ -2,7 +2,7 @@
$scale_min = "0";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " COMMENT:' Last Max\\n'";
diff --git a/html/includes/graphs/port/mac_acc_bits.inc.php b/html/includes/graphs/port/mac_acc_bits.inc.php
index f76993625..ab088b9ee 100644
--- a/html/includes/graphs/port/mac_acc_bits.inc.php
+++ b/html/includes/graphs/port/mac_acc_bits.inc.php
@@ -11,6 +11,6 @@ if(is_file($config['rrd_dir'] . "/" . $acc['hostname'] . "/" . safename("cip-" .
$rra_in = "IN";
$rra_out = "OUT";
-include("generic_bits.inc.php");
+include("includes/graphs/generic_bits.inc.php");
?>
diff --git a/html/includes/graphs/port/mac_acc_pkts.inc.php b/html/includes/graphs/port/mac_acc_pkts.inc.php
index 5b8ed4af5..1648ed022 100644
--- a/html/includes/graphs/port/mac_acc_pkts.inc.php
+++ b/html/includes/graphs/port/mac_acc_pkts.inc.php
@@ -22,6 +22,6 @@ $colour_area_out_max = "FFEFAA";
$graph_max = 1;
$unit_text = "Pkts\ \ \ ";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/port/mac_acc_total.inc.php b/html/includes/graphs/port/mac_acc_total.inc.php
index 8c24eddcd..2cd60b0de 100644
--- a/html/includes/graphs/port/mac_acc_total.inc.php
+++ b/html/includes/graphs/port/mac_acc_total.inc.php
@@ -6,7 +6,7 @@ $sort = mres($_GET['sort']);
if(is_numeric($_GET['topn'])) { $topn = $_GET['topn']; } else { $topn = '10'; }
- include("common.inc.php");
+ include("includes/graphs/common.inc.php");
if($stat == "pkts") {
$units='pps'; $unit = 'p'; $multiplier = '1';
diff --git a/html/includes/graphs/port/upkts.inc.php b/html/includes/graphs/port/upkts.inc.php
index 0b83a21b1..ef664f98e 100644
--- a/html/includes/graphs/port/upkts.inc.php
+++ b/html/includes/graphs/port/upkts.inc.php
@@ -27,6 +27,6 @@ $colour_area_out_max = "FFefaa";
$graph_max = 1;
$unit_text = "Packets";
-include("generic_duplex.inc.php");
+include("includes/graphs/generic_duplex.inc.php");
?>
diff --git a/html/includes/graphs/processor/usage.inc.php b/html/includes/graphs/processor/usage.inc.php
index 134096b2d..c1179e3aa 100755
--- a/html/includes/graphs/processor/usage.inc.php
+++ b/html/includes/graphs/processor/usage.inc.php
@@ -3,7 +3,7 @@
$scale_min = "0";
$scale_max = "100";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$iter = "1";
diff --git a/html/includes/graphs/sensor/current.inc.php b/html/includes/graphs/sensor/current.inc.php
index 76a684388..8e6ed8ecf 100644
--- a/html/includes/graphs/sensor/current.inc.php
+++ b/html/includes/graphs/sensor/current.inc.php
@@ -2,7 +2,7 @@
$scale_min = "0";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " COMMENT:' Last Max\\n'";
diff --git a/html/includes/graphs/sensor/frequency.inc.php b/html/includes/graphs/sensor/frequency.inc.php
index 7e98d134d..9fb47ce74 100644
--- a/html/includes/graphs/sensor/frequency.inc.php
+++ b/html/includes/graphs/sensor/frequency.inc.php
@@ -2,7 +2,7 @@
$scale_min = "0";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " COMMENT:' Last Max\\n'";
diff --git a/html/includes/graphs/sensor/humidity.inc.php b/html/includes/graphs/sensor/humidity.inc.php
index a07a89164..512668163 100644
--- a/html/includes/graphs/sensor/humidity.inc.php
+++ b/html/includes/graphs/sensor/humidity.inc.php
@@ -3,7 +3,7 @@
$scale_min = "25";
$scale_max = "40";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " COMMENT:' Last Max\\n'";
diff --git a/html/includes/graphs/sensor/temperature.inc.php b/html/includes/graphs/sensor/temperature.inc.php
index 5c0e107ef..7f9b5db4c 100644
--- a/html/includes/graphs/sensor/temperature.inc.php
+++ b/html/includes/graphs/sensor/temperature.inc.php
@@ -3,7 +3,7 @@
$scale_min = "25";
$scale_max = "40";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " COMMENT:' Last Min Max\\n'";
diff --git a/html/includes/graphs/sensor/voltage.inc.php b/html/includes/graphs/sensor/voltage.inc.php
index 262d18ea6..bd48743bd 100644
--- a/html/includes/graphs/sensor/voltage.inc.php
+++ b/html/includes/graphs/sensor/voltage.inc.php
@@ -2,7 +2,7 @@
$scale_min = "0";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " -A ";
diff --git a/html/includes/graphs/storage/usage.inc.php b/html/includes/graphs/storage/usage.inc.php
index c56c195d6..cad06ec56 100644
--- a/html/includes/graphs/storage/usage.inc.php
+++ b/html/includes/graphs/storage/usage.inc.php
@@ -3,7 +3,7 @@
$scale_min = "0";
$scale_max = "100";
-include("common.inc.php");
+include("includes/graphs/common.inc.php");
$rrd_options .= " -b 1024";